import home from './components/home';

export default [{
  path: '/',
  component: home,
  children: [
    {
      path: '/',
      redirect: '/index'
    },
    //index
    {
      path: 'index',
      component: home,
      children: [
        {
          path: '/',
          meta: {
            title: '首页'
          },
          component: resolve => require(['./view/index/index'], resolve)
        }
      ]
    },
  ]
}]
